package com.medicine.lungs.mapper;

import com.medicine.pojo.Patient;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author SongMin
 * @date 2021/6/1
 */

@Mapper
@Repository
public interface LungsCtMapper {
    Patient queryLungsInfo();
    List<Map<String, Object>> queryLungsInfoByCtId(int CtId);
    Patient queryLungsInfoById(int id);
    List<Patient> queryLungsInfoByName(String name);
    List querryCtListById(int id); //根据ID查询患者的异常图列表
    List querryLabelListById(int id);
    List querryCtList();   //返回第一位患者的异常图列表
    List querryLabelList();
    Map<String, Object> queryLabelInfoById(int id);
    List<Map<String, Object>> queryResultsById(int id);
    List<Map<String, Object>> queryResults();


}
